* {
    margin: 0;
}

.top {
    /*设置字体颜色*/
    color: white;
    /*width: 500px;*/
    /*height: 500px;*/
    /*background-color: blue*/
    /*路径问题*/
    background-image: url("../img/banner_qtah.jpg");
    /*    如果不定义高度和宽度    宽度为浏览器的宽度   高度为0 这里只争对当前div有效*/
    /*  如果用了flex   宽度为0，高度为0  */
    height: 808px;
    /*width: 100%;*/
    background-size: 100% 100%;

}

/*后台选择器 ，子选择器*/
.top > div {
    display: flex;
    justify-content: center;
}

.top > div:nth-child(1) > div {
    width: 1000px;
    /*border: 1px solid red;*/
    height: 141px;
    display: flex;
    /*两端对齐*/
    justify-content: space-between;
    align-items: center;
}

.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
    height: 141px;
    width: 204px;
}

.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) img {
    height: 100%;
    width: 100%;
}

/*电话号码和图片*/
.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) {
    display: flex;
    /*上下剧中*/
    align-items: center;
}

.top > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
    /*离当前div右边10个像素的距离*/
    /*margin-right: 10px;*/
    /*上 右  下 左*/
    margin: 0 10px 0 0;

}


/*daohang*/
.top > div:nth-child(2) {
    height: 50px;
    background-color: rgb(230, 145, 55);
}

.top > div:nth-child(2) > div {
    width: 1000px;
    /*border: 1px solid red;*/
    display: flex;
    align-items: center;
    line-height: 50px;
}

.top > div:nth-child(2) > div > div {
    width: 100px;
    height: 50px;
    text-align: center;
    cursor: pointer;
}

/*鼠标移上去事件*/
.top > div:nth-child(2) > div > div:hover {
    background-color: white;
    color: rgb(230, 145, 55);

}

/*----------广告------------------------*/
.top > div:nth-child(3) > div {
    width: 1000px;
    height: 500px;
    /*border: 1px solid red;*/
}

.top > div:nth-child(3) > div > div:nth-child(1) {
    font-size: 40px;
    margin: 50px 0 30px;
}

.top > div:nth-child(3) > div > div:nth-child(2) > div {
    line-height: 30px;
}

.top > div:nth-child(3) > div > div:nth-child(3) > div:nth-child(1) {
    display: flex;
    font-size: 30px;
    align-items: flex-end;
}

.top > div:nth-child(3) > div > div:nth-child(3) > div:nth-child(1) > div:nth-child(even) {
    font-size: 40px;
    color: rgb(230, 145, 55);
    margin-right: 20px;
}

.top > div:nth-child(3) > div > div:nth-child(3) > div:nth-child(2) {
    font-size: 40px;
    color: rgb(230, 145, 55);
    /*margin-left: 50px;*/
    text-indent: 1.5em;
}

/*--------------------底部-------------------*/
.foot > div:nth-child(1) {
    border: 1px solid red;
}

.foot > div:nth-child(2) {
    display: flex;
    justify-content: center;
}

.foot > div:nth-child(2) > div {
    width: 1000px;
    /*border: 1px solid red;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.foot > div:nth-child(2) > div > div:nth-child(1) {
    line-height: 30px;
}

.foot > div:nth-child(2) > div > div:nth-child(2) img {
    margin: 0 20px;
}

.foot > div:nth-child(2) > div > div:nth-child(2) img:nth-child(1):hover {
    content: url('../img/icon_06_7z07.png');
}

.foot > div:nth-child(2) > div > div:nth-child(2) img:nth-child(2):hover {
    content: url('../img/icon_08_43xx.png');
}

.foot > div:nth-child(2) > div > div:nth-child(2) img:nth-child(3):hover {
    content: url('../img/icon_10_o5jo.png');
}

.foot > div:nth-child(2) > div > div:nth-child(2) img:nth-child(4):hover {
    content: url('../img/icon_12_f0on.png');
}

/*-----------------中间部分-----------------------------*/
.middle {
    display: flex;
    justify-content: center;
}

.middle > div {
    width: 1000px;
    /*border: 1px solid red;*/
    /*height: 200px;*/
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
}

.middle > div > div {
    border: 1px solid gray;
}

.middle > div > div:nth-child(1) {
    width: 580px;
}

.middle > div > div:nth-child(2) {
    width: 400px;
}

/*较新动态*/
.middle .title {
    height: 50px;
    font-size: 30px;
    line-height: 50px;
    color: rgb(230, 145, 55);
    border-bottom: 1px solid gray;
    padding: 10px;
}

.middle > div > div:nth-child(1) > div:nth-child(2) {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
    width: 268px;
    height: 190px;

}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

/*详细新闻动态内容*/
.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div {
    border-bottom: 1px dashed gray;
    height: 60px;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div > div {
    /*    单行溢出*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 270px;
}

/*标题*/
.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) {
    font-weight: bold;
    padding: 15px 0 0;
}

/*内容*/
.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(2) {
    color: gray;
    padding: 0;
}

/*--------------产品展示--------------*/
.middle > div > div:nth-child(2) > div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div {
    width: 180px;
    /*border: 1px solid red;*/
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) {
    width: 180px;
    height: 140px;

}

.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}


.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(1) {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 180px;
}

.middle > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(2) {
    color: gray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 180px;
}